package com.aoxun.common.persistence.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * @author dangshneg
 * @since 2017-07-12
 */
@TableName("dictionary_config")
public class DictionaryConfig extends Model<DictionaryConfig> {

    private static final long serialVersionUID = 1L;

	private Integer id;
	@TableField("key")
	private String key;
	@TableField("value")
	private String value;
	@TableField("desc")
	private String desc;
	@TableField("create_time")
	private Date createTime;
	
	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
}
